package com.yokit.c2c.response;

/**
 * @author fengzeng
 * @create 2021/6/13 20:07
 */
public class ResponseObject<T> {
  private String msg;
  private Integer status;
  private T data;

  public ResponseObject() {}

  public ResponseObject(Integer status, String msg) {
    this.msg = msg;
    this.status = status;
  }

  public ResponseObject(Integer status, String msg, T data) {
    this.msg = msg;
    this.status = status;
    this.data = data;
  }

  public String getMsg() {
    return msg;
  }

  public void setMsg(String msg) {
    this.msg = msg;
  }

  public Integer getStatus() {
    return status;
  }

  public void setStatus(Integer status) {
    this.status = status;
  }

  public T getData() {
    return data;
  }

  public void setData(T data) {
    this.data = data;
  }
}
